-- GENERATED SPELL FOR [Temporal Parasite] --


function spell0_10717(pUnit, Event) --@Slow,n/a--
pUnit:FullCastSpellOnTarget(11436,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10717', 10000, 1)
end

function Sorts_10717(pUnit, Event)
local choix_sorts_10717 = math.random(0, 0)
if choix_sorts_10717 == 0 then
pUnit:RegisterEvent('spell0_10717', 1, 1)
end
end

function mob10717_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10717', math.random(1500, 3000), 1)
end

function mob10717_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10717_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10717_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10717, 1, 'mob10717_Action')
RegisterUnitEvent(10717, 2, 'mob10717_Leave')
RegisterUnitEvent(10717, 3, 'mob10717_Kill')
RegisterUnitEvent(10717, 4, 'mob10717_Die')
